package com.zyh.entity;

import java.util.Arrays;

public class AdminRoleDto {
    private Integer userId;
    private Integer[] roleIds;

    public AdminRoleDto() {
    }

    public AdminRoleDto(Integer userId, Integer[] roleIds) {
        this.userId = userId;
        this.roleIds = roleIds;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Integer[] roleIds) {
        this.roleIds = roleIds;
    }

    @Override
    public String toString() {
        return "AdminRoleDto{" +
                "userId=" + userId +
                ", roleIds=" + Arrays.toString(roleIds) +
                '}';
    }
}
